<?php
class ArrayUltils{

	public static function trim2DotArray(array $arr){
		$result = array();
		foreach ($arr as $key=>$value) {
			$nkey = substr($key, 1);
			$result[$nkey] = $value;
		}
		return $result;
	}
	public static function insertAtFirstCombo(array $arr){
		$first = array(
				Constant::COMBOBOX_TEXT => "",
				Constant::COMBOBOX_VALUE => ""
		);
		array_unshift($arr, $first);
		return $arr;
	}
}